textarea widgets have more value as readonly and not disabled, than
just disabled: you can scroll through them when they're readonly and
not disabled.
So give the form element separate readonly and disabled properties, so
textarea elements defined as readonly with a large amount of content
still cannot be modified, but at least the whole content can be viewed
(because the textarea scrollbars still function).
Signed-off-by: Paul Donald <[email protected]>
rows: this.rows,
wrap: this.wrap,
validate: L.bind(this.validate, this, section_id),
- disabled: (this.readonly != null) ? this.readonly : this.map.readonly
+ readonly: (this.readonly != null) ? this.readonly : this.map.readonly,
+ disabled: (this.disabled != null) ? this.disabled : null,
});
return widget.render();